{extend name="member/common/shop_layout" /}
{block name="content"}

<div class="wrap">
    <div class="tabmenu">

        {include file="member/common/submenu" /}
        
    </div>
    <table class="ncm-default-table">
        <thead>
        <tr>
            <th class="w10"></th>
            <th class="w150 tl">记录时间</th>
            <th class="w150 tl">金额</th>
            <th class="tl">备注</th>
        </tr>
        </thead>
        <tbody>
        <?php  if (!empty($consume_list)) { ?>
        <?php foreach($consume_list as $val) { ?>
        <tr class="bd-line">
            <td></td>
            <td class="w150 tl"><?php echo date('Y-m-d H:i:s', $val['consume_time']);?></td>
            <td class="w150 tl"><?php echo '&yen;'.ncPriceFormat($val['consume_amount'])?></td>
            <td class="tl"><?php echo $val['consume_remark'];?></td>
        </tr>
        <?php } ?>
        <?php } else {?>
        <tr>
            <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>暂无符合条件的数据记录</span></div></td>
        </tr>
        <?php } ?>
        </tbody>
        <tfoot>
        <?php  if (count($consume_list)>0) { ?>
        <tr>
            <td colspan="20"><div class="pagination"> <?php echo $show_page; ?></div></td>
        </tr>
        <?php } ?>
        </tfoot>
    </table>
</div>

{/block}